
package com.ws.shop.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.ws.shop.bean.Page;
import com.ws.shop.dao.PointclogDao;
import com.ws.shop.service.PointclogService;

@Service(value="pointclogService")
public class PointclogServiceImpl implements PointclogService {


	@Resource(name="pointclogDao")
	private PointclogDao pointclogDao;

	@Transactional(propagation=Propagation.NOT_SUPPORTED,readOnly=true)
	public Page findPointclogListByPage(int pageno, int pagesize, String start,
			String end, String name) {
		return pointclogDao.findPointclogListByPage(pageno,pagesize,start,end,name);
	}

	public void displayUserPointc(final Page page,final long uid){
		pointclogDao.displayUserPointc(page, uid);
	}
	
}
